brew 常用命令
安装wget
brew install wget
卸载
brew uninstall wget
brew list 列出已安装的软件
brew update 更新brew
brew home 用浏览器打开brew的官方网站
brew info 显示软件信息
brew deps 显示包依赖
brew upgrade 升级
执行PHP切换命令,如下brew-php-switcher.
brew-php-switcher 5.6
brew-php-switcher 7.0
brew-php-switcher 7.1
brew-php-switcher 7.2